﻿namespace Rmq.Center
{
    /// <summary>
    /// 消息处理委托的返回类型
    /// </summary>
    public class ConsumedResult
    {
        /// <summary>
        /// 是否做出应答
        /// </summary>
        public bool Ack { get; set; } = false;

        /// <summary>
        /// 如不做应答，可设置多少毫秒后重发
        /// </summary>
        public int Delay { get; set; } = 0;
    }
}
